project(SweepDialogTest)
find_package(wxWidgets REQUIRED)
include( ${wxWidgets_USE_FILE} )
include_directories( ${wxWidgets_INCLUDE_DIRS})
include_directories( ${ModelViewer_SOURCE_DIR})

add_executable( SweepDialogTest 
	SweepDialogTest.cpp
	${ModelViewer_SOURCE_DIR}/SweepDialog.h
	${ModelViewer_SOURCE_DIR}/SweepDialog.cpp
	${CMAKE_SOURCE_DIR}/src/Testing.h
)
target_link_libraries( SweepDialogTest ${wxWidgets_LIBRARIES} )
add_test( SweepDialogTest ${EXECUTABLE_OUTPUT_PATH}/SweepDialogTest )